package me.qingy.dubbo.service.impl;

import me.qingy.dubbo.bean.Info;
import me.qingy.dubbo.service.ProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConsumerServiceImpl{

	@Autowired
	private ProviderService providerService;

	public Info rpc(){
		return providerService.getInfoById(1L);
	}


}
